package business_opportunity

import (
	"context"
	"git.mycaigou.com/gfyx/common/http_client"
	reportDto "git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto/oppty/report"
	pb "git.mycaigou.com/gfyx/micro-gfyx-api/proto/micro_gfyx_oppty_service_proto/micro-gfyx-oppty-service/clue"

	"git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto"
)

type ReportRepositoryIface interface {
	SearchContacts(ctx context.Context, params *reportDto.SearchContactRequest) (*http_client.BigDataResponse, error)
	//Save 保存报备信息
	Save(ctx context.Context, params map[string]interface{}) (bool, error)
	//GetReportSourceInfo报备来源的附带信息
	GetReportSourceInfo(ctx context.Context, sourceType, sourceId string) (map[string]interface{}, error)
	// GetReportList 报备列表数据
	GetReportList(ctx context.Context, request *dto.ReportMyListRequestDto) (*pb.GetReportListResponse, error)
	GetRegionReportList(ctx context.Context, request *dto.ReportMyListRequestDto) (*pb.GetReportListResponse, error)
	GetReport(ctx context.Context, reportId string) (*pb.GetReportResponse, error)
	//获取负责团队
	GetTeamLeader(ctx context.Context, reportId string) (map[string]interface{}, error)
	// 获取负责人列表
	GetUserList(ctx context.Context) (map[string]interface{}, error)
}
